import 'package:flutter/gestures.dart';
import 'package:flutter/widgets.dart';

class GlobalConfig {
  static init() async {
    WidgetsFlutterBinding.ensureInitialized();

    //滚动性能优化 1.22.0
    GestureBinding.instance.resamplingEnabled = false;
    await initThirdParty();
    await initNetWork();
    await initNormalDefault();
  }

  /// 初始化第三发
  static initThirdParty() async {}

  /// 配置默认数据
  static initNormalDefault() async {}

  /// 配置网络请求
  static initNetWork() async {}
}
